package com.cl.spark.node;

import com.alibaba.fastjson.JSONObject;
import com.cl.pile.rule.process.RuleMatcher;
import com.cl.spark.base.BaseSparkNode;
import com.cl.spark.dto.SparkParam;
import com.cl.spark.dto.SparkResult;
import com.cl.spark.enums.SparkNodeEnum;
import org.apache.spark.api.java.function.MapFunction;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.RowFactory;
import org.apache.spark.sql.functions;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;


@Component
public class RuleInvokeNode extends BaseSparkNode {

    @Override
    public SparkResult process(SparkParam sparkParam) {
        return null;
    }

    @Override
    public SparkNodeEnum getType() {
        return SparkNodeEnum.RULE_INVOKE;
    }
}